<template>
  <div class="app-bg">
    <div class="app-center">
      <div class="app-header">
        <div class="app-title">🤖 安全加固检查智能对话助手</div>
        <div class="app-desc">智能问答系统</div>
      </div>
      <div class="app-main">
        <ChatLayout />
      </div>
    </div>
  </div>
</template>

<script setup>
import ChatLayout from './components/ChatLayout.vue'
</script>

<style>
.app-bg {
  min-height: 100vh;
  width: 100vw;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-center {
  width: 80vw;
  max-width: 1400px;
  min-width: 900px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 32px 0;
}
.app-header {
  padding: 36px 48px 18px 48px;
  border-bottom: 1px solid #e6e6e6;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 18px 18px 0 0;
  color: #fff;
  text-align: left;
}
.app-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.app-desc {
  font-size: 1rem;
  opacity: 0.92;
}
.app-main {
  flex: 1;
  display: flex;
  min-height: 600px;
  height: 70vh;
  max-height: 800px;
  padding: 0;
}
</style> 